package com.chaos.auth.api.data;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RbacPermissionData", description = "权限表")
public class RbacPermissionData extends DATA {


    @ApiModelProperty(value = "权限名称")
    private String name;


    @ApiModelProperty(value = "url权限标识")
    private String urlPerm;

    private String roleName;

    @ApiModelProperty(value = "权限类型：1，admin 接口；2，open 接口")
    private Integer type;


}
